home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
MACD 5
/
MACD 5.bin
/
workbench
/
boot
/
czesc_2
/
wbstartup
/
wbs.doc
< prev
next >
Wrap
Text File
|
1995-11-25
|
4KB
|
104 lines
Short: WBStartup - a (small) WBStartup drawer manager
Uploader: septh@leserveur.com (Stephan Schreiber)
Author: septh@leserveur.com (Stephan Schreiber)
Type: util/boot
Distribution: freeware
-------------------------------------------------------------------------------
NAME
WBStartup - a (small) WBStartup drawer mananger
SYNOPSYS
WBS ENABLED_DIR/K,DISABLED_DIR/K,SORT/K,NO_ICON_POSITION/S
ARGUMENTS
Arguments are valid both from Shell and as ToolTypes.
ENABLED_DIR
The name of your startup drawer. This drawer will be created
if it doesn't exist.
Defaults to 'SYS:WBStartup/WBStartup (Enabled)'.
DISABLED_DIR
The name of your storage drawer. This drawer will be created
if it doesn't exist.
Defaults to 'SYS:WBStartup/WBStartup (Disabled)'.
SORT
Specify the sort order for the lists of tools.
SORT=PRIORITY will sort the lists by priority
(the STARTPRI tooltype), while SORT=NAME will
sort the lists by name.
Defaults to PRIORITY.
NO_ICON_POSITION
By default, when moving icons from one drawer to the other,
WBS will leave their position information intact. This option
tells the program to override this information with
the NO_ICON_POSITION constant, which will force Workbench
to try and pick up an empty place in the window for the icons.
-------------------------------------------------------------------------------
WBStartup was only written as an exercise, so don't blame it on me if it doesn't
suit all your needs.
It's not perfect, neither: the GUI isn't font sensitive (it uses the old
good Topaz/8) and the 'Start' feature is not yet implemented (the corresponding
gadgets is simply disabled).
However, WBStartup just does what I have written it for: it enables me to
select which tools Workbench will load a startup time, and which it will
not load. That's all.
Full source code in SAS/C is included for your information/curiosity/will of
enhancement. If you ever modify it, please just let me know. I'm very curious.
As always with freeware, no waranties, wether express or implied, are provided.
Use at your own risks. I (Stephan Schreiber) could not be held responsible
for any damages caused to your computer and/or files resulting from the use
or misuse of this software.
Stephan Schreiber
septh@leserveur.com
-------------------------------------------------------------------------------
History
* Version 1.0
- Initial release
* Version 1.1 (not released)
- Changed default dirs to "Sys:WBStartup/WBStartup (Enabled)"
and "Sys:WBStartup/WBStartup (Disabled)" to match
John Hughes' WBStartup+ setup. WBStartup+ is a great tool,
but I dont't like its Preferences editor. Now, you can
use my own WBStartup (WBS) as a Prefs editor for WBStartup+
(sorry John, I didn't send you a postcard yet)
- Replaced the Examine()/ExNext() loop with a single
ExAll() call which is much faster
* Version 1.2
- Implemeted the 'Edit icon' feature
- Added the SORT tooltype/command line option
- The listviews now display the starting priority
of the tools along with their names
- Created a SMakefile in order to split the source
into several small modules. However this is not done yet,
I'm too lazy for now
- Sorry, some comments in the source are in french again!
-------------------------------------------------------------------------------
To do list
- Implement the 'Start tool now' feature
- Add some menus...
- Implement keyboard equivalents
- Get rid if topaz/8! Maybe I'll use a GUI creation library?
I like Olaf `Olsen' Barthel's gtlayout.library, but it's
damned big!
- Support localization
- Clean up source code!
-------------------------------------------------------------------------------
EOF